﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;
using System.Configuration;

namespace BLL
{
    public class BaseBLL
    {
        public TramHuongDB2DataContext DB { get; set; }

        public BaseBLL()
        {
            DB = new TramHuongDB2DataContext(ConfigurationManager.ConnectionStrings["TramHuongDB2ConnectionString"].ConnectionString);
        }

        public void CapNhat()
        {
            DB.SubmitChanges();
        }
    }
}
